package com.squid.user.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.squid.base.common.bean.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息表
 * @TableName user_entity
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="user_entity")
@Data
public class UserEntity extends CommonEntity implements Serializable {
    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 昵称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 性别1男0女
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 个人简介
     */
    @TableField(value = "person_introduction")
    private String personIntroduction;

    /**
     * 所在地区
     */
    @TableField(value = "region")
    private String region;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;
    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;
    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;
    /**
     * 出生日期
     */
    @TableField(value = "birthday_time")
    private Date birthdayTime;

    /**
     * 工作时间
     */
    @TableField(value = "work_time")
    private Date workTime;

    /**
     * 教育信息id
     */
    @TableField(value = "edu_id")
    private Long eduId;

    /**
     * 工作信息id
     */
    @TableField(value = "work_id")
    private Integer workId;

    /**
     * 兴趣id
     */
    @TableField(value = "interest_id")
    private Long interestId;

    /**
     * 标签id
     */
    @TableField(value = "tag_id")
    private Long tagId;

    /**
     * 支付id
     */
    @TableField(value = "pay_id")
    private Long payId;

    /**
     * 配置id
     */
    @TableField(value = "config_id")
    private Long configId;
}